package org.web.standardplatform.client.domain.attribute.view;

import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotNull;

@Setter
@Getter
public class TableFieldDefinition {

    @NotNull
    private String attributeName;
    @NotNull
    private String attributeLabel;
    @NotNull
    private String editType;

    @NotNull
    private Integer tableSort=100;
    private String attributeTooltip;
    private String columnWidth;
    private String extendsAttributeInfo;

    /**
     *  归属实体对象， 即atttributeName 归属于哪个实体对象，针对返回结果存在嵌套时的处理。如果果该属性不为空，则prop="dog.name"， 即【returnDto.attributeName】。
     * */
    private String returnDto;

    private String rules;
    private Boolean unInsertable;
    private Boolean unUpdatable;
    private Boolean isSortable;

    private String editTypeOperateExtend;

    private Boolean isDefaultHidden;

}
